function dateFilter(k, v) {
	return (typeof v == "string" 
		&& (k=v.match(/([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})Z$/))) ?
		new Date(new Date(k[1],k[2]-1,k[3],k[4],k[5],k[6]).getTime() - new Date().getTimezoneOffset() * 60000) : v;
}